In order to open a particular report, it is first necessary to have an open Crystal Report Engine object in the application. You may then call the member function CRPEngine::OpenJob, specifying the report file name to open. If successful, you will be returned a pointer to the CRPEJob object. It is through this object that you may modify the print job attributes as well as output the report in various formats. Almost all these methods correspond to similar functions available in the Crystal Report Engine API.
CRPEJob ( short jobHandle ); CRPEJob ( short jobHandle,
CRPEJob *parentJob );
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |